package com.filldream.fastboot.common.entity.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class StockDayInfo {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "交易所类型")
    private String marketType;

    @ApiModelProperty(value = "交易所名称")
    private String address;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "代码")
    private String code;

    @ApiModelProperty(value = "实时价格")
    private BigDecimal nowPrice;

    @ApiModelProperty(value = "昨收")
    private BigDecimal yesterdayPrice;

    @ApiModelProperty(value = "开盘价格")
    private BigDecimal openPrice;

    @ApiModelProperty(value = "成交量(手)")
    private BigDecimal dealCount;

    @ApiModelProperty(value = "外盘")
    private BigDecimal outSum;

    @ApiModelProperty(value = "内盘")
    private BigDecimal innerSum;

    @ApiModelProperty(value = "买1价")
    private BigDecimal buy1Price;

    @ApiModelProperty(value = "买1量(手)")
    private BigDecimal buy1Count;

    @ApiModelProperty(value = "买2价")
    private BigDecimal buy2Price;

    @ApiModelProperty(value = "买2量(手)")
    private BigDecimal buy2Count;

    @ApiModelProperty(value = "买3价")
    private BigDecimal buy3Price;

    @ApiModelProperty(value = "买3量(手)")
    private BigDecimal buy3Count;

    @ApiModelProperty(value = "买4价")
    private BigDecimal buy4Price;

    @ApiModelProperty(value = "买4量(手)")
    private BigDecimal buy4Count;

    @ApiModelProperty(value = "买5价")
    private BigDecimal buy5Price;

    @ApiModelProperty(value = "买5量(手)")
    private BigDecimal buy5Count;

    @ApiModelProperty(value = "卖1价")
    private BigDecimal sell1Price;

    @ApiModelProperty(value = "卖1量(手)")
    private BigDecimal sell1Count;

    @ApiModelProperty(value = "卖2价")
    private BigDecimal sell2Price;

    @ApiModelProperty(value = "卖2量(手)")
    private BigDecimal sell2Count;

    @ApiModelProperty(value = "卖3价")
    private BigDecimal sell3Price;

    @ApiModelProperty(value = "卖3量(手)")
    private BigDecimal sell3Count;

    @ApiModelProperty(value = "卖4价")
    private BigDecimal sell4Price;

    @ApiModelProperty(value = "卖4量(手)")
    private BigDecimal sell4Count;

    @ApiModelProperty(value = "卖5价")
    private BigDecimal sell5Price;

    @ApiModelProperty(value = "卖5量(手)")
    private BigDecimal sell5Count;

    @ApiModelProperty(value = "最近逐笔成交")
    private String everyDealInfo;

    @ApiModelProperty(value = "时间字符")
    private String dateTimeStr;

    @ApiModelProperty(value = "涨跌额")
    private BigDecimal zde;

    @ApiModelProperty(value = "涨幅")
    private BigDecimal zf;

    @ApiModelProperty(value = "最高价格")
    private BigDecimal hPrice;

    @ApiModelProperty(value = "最低价格")
    private BigDecimal lPrice;

    @ApiModelProperty(value = "价格/成交量（手）/成交额")
    private String priceCountMoneyDealInfo;

    @ApiModelProperty(value = "成交额(万)")
    private BigDecimal dealMoney;

    @ApiModelProperty(value = "换手率(%)")
    private BigDecimal hsl;

    @ApiModelProperty(value = "市盈率(TTM)")
    private BigDecimal syl;

    @ApiModelProperty(value = "振幅(%)")
    private BigDecimal amplitude;

    @ApiModelProperty(value = "流通市值(亿)")
    private BigDecimal circulationMarketPrice;

    @ApiModelProperty(value = "市值(亿)")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "市净率")
    private BigDecimal sjl;

    @ApiModelProperty(value = "涨停价")
    private BigDecimal stopHPrice;

    @ApiModelProperty(value = "跌停价")
    private BigDecimal stopLPrice;

    @ApiModelProperty(value = "量比")
    private BigDecimal lb;

    @ApiModelProperty(value = "委差")
    private BigDecimal wc;

    @ApiModelProperty(value = "均价")
    private BigDecimal avgPrice;

    @ApiModelProperty(value = "市盈率动态")
    private BigDecimal sylDynamic;

    @ApiModelProperty(value = "市盈率静态")
    private BigDecimal sylStatic;

    //计算后的参数

    @ApiModelProperty(value = "内外盘差距")
    private BigDecimal diffSum;

    @ApiModelProperty(value = "腾讯返回的原结果")
    private String urlResult;

    @ApiModelProperty(value = "涨跌状态 -1为跌 0-不变 1-涨")
    public Integer zhangFlag = 0;

    private Date createDate;

}
